package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.PlatOrganizationAttachment;
import com.hoshiicloud.user.entity.organization.StoreOrganizationAttachment;

import java.util.List;

/**
 * <p>
 * 店铺供应商附件 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface StoreOrganizationAttachmentService extends IService<StoreOrganizationAttachment> {
    IPage<StoreOrganizationAttachment> getPage(IPage<StoreOrganizationAttachment> page, QueryWrapper<StoreOrganizationAttachment> queryWrapper, String key);

    StoreOrganizationAttachment getById(Long id);

    boolean save(StoreOrganizationAttachment entity);

    boolean updateById(StoreOrganizationAttachment entity);

    boolean insertAttach4StoreOrganization(List<StoreOrganizationAttachment> storeOrganizationAttachmentList);
}
